﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Login"] == null)
            Response.Redirect("Login.aspx");

        Label1.Text = "Welcome " + ((DataTable)Session["login"]).Rows[0]["login_id"] + ", ";
    }
}
